package H;

/**
 * 士兵
 */
public class Soldier extends Game implements Defend{
    public Soldier(){}
    public Soldier(String neme,int level){
        super(neme,level);
    }

    @Override
    public void defend() {
        System.out.println("我是一个等级为："+this.getLevel()+"，名为"+this.getName()+"的"+"盗贼，我能够抵抗");
    }
}
